package cn.vihub.service;

import cn.vihub.vo.TokenVo;

public interface TokenService {

    /**
     * 生成token
     * @param userId
     * @param username
     * @return
     */
    TokenVo createAccessToken(Integer userId, String username);

    TokenVo createRefreshToken(String refreshToken);

}
